package com.supcon.exchangedata.pojo.entity.mysql.operation.lq;

import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * @Author: yangbin
 * @Date: 2022/12/28/14:48
 * @Description: 
 */
/**
    * 养护基地基础信息
    */
@Entity
@Data
@Table(name = "lq_maintain_base", schema = "hzcjtz_roadbridge_coll", catalog = "")
public class LqMaintainBase {

    @Column(name = "id")
    private Integer id;

    /**
    * 基地名称
    */
    @Column(name = "base_name")
    private String baseName;

    /**
    * 简介
    */
    @Column(name = "description")
    private String description;

    /**
    * 经度
    */
    @Column(name = "longitude")
    private BigDecimal longitude;

    /**
    * 纬度
    */
    @Column(name = "latitude")
    private BigDecimal latitude;

    /**
    * 地址
    */
    @Column(name = "location")
    private String location;

    /**
    * 创建时间
    */
    @Column(name = "create_time")
    private LocalDateTime createTime;

    /**
    * 修改时间
    */
    @Column(name = "modify_time")
    private LocalDateTime modifyTime;

    /**
    * 0-正常 1-删除
    */
    @Column(name = "flag")
    private Boolean flag;

    /**
    * 自增序列
    */
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "tongid")
    private Long tongid;

    /**
    * 数据插入时间
    */
    @Column(name = "tong_time")
    private LocalDateTime tongTime;

    /**
    * 增量数据操作字段
    */
    @Column(name = "op")
    private String op;

    /**
    * 业务数据产生时间
    */
    @Column(name = "biz_time")
    private LocalDateTime bizTime;
}